package com.shopowner.entity;

import java.util.ArrayList;
import java.util.List;

public class CoachExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public CoachExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCnoIsNull() {
            addCriterion("cno is null");
            return (Criteria) this;
        }

        public Criteria andCnoIsNotNull() {
            addCriterion("cno is not null");
            return (Criteria) this;
        }

        public Criteria andCnoEqualTo(String value) {
            addCriterion("cno =", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotEqualTo(String value) {
            addCriterion("cno <>", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoGreaterThan(String value) {
            addCriterion("cno >", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoGreaterThanOrEqualTo(String value) {
            addCriterion("cno >=", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoLessThan(String value) {
            addCriterion("cno <", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoLessThanOrEqualTo(String value) {
            addCriterion("cno <=", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoLike(String value) {
            addCriterion("cno like", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotLike(String value) {
            addCriterion("cno not like", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoIn(List<String> values) {
            addCriterion("cno in", values, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotIn(List<String> values) {
            addCriterion("cno not in", values, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoBetween(String value1, String value2) {
            addCriterion("cno between", value1, value2, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotBetween(String value1, String value2) {
            addCriterion("cno not between", value1, value2, "cno");
            return (Criteria) this;
        }

        public Criteria andStnoIsNull() {
            addCriterion("stno is null");
            return (Criteria) this;
        }

        public Criteria andStnoIsNotNull() {
            addCriterion("stno is not null");
            return (Criteria) this;
        }

        public Criteria andStnoEqualTo(String value) {
            addCriterion("stno =", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoNotEqualTo(String value) {
            addCriterion("stno <>", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoGreaterThan(String value) {
            addCriterion("stno >", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoGreaterThanOrEqualTo(String value) {
            addCriterion("stno >=", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoLessThan(String value) {
            addCriterion("stno <", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoLessThanOrEqualTo(String value) {
            addCriterion("stno <=", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoLike(String value) {
            addCriterion("stno like", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoNotLike(String value) {
            addCriterion("stno not like", value, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoIn(List<String> values) {
            addCriterion("stno in", values, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoNotIn(List<String> values) {
            addCriterion("stno not in", values, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoBetween(String value1, String value2) {
            addCriterion("stno between", value1, value2, "stno");
            return (Criteria) this;
        }

        public Criteria andStnoNotBetween(String value1, String value2) {
            addCriterion("stno not between", value1, value2, "stno");
            return (Criteria) this;
        }

        public Criteria andAnoIsNull() {
            addCriterion("ano is null");
            return (Criteria) this;
        }

        public Criteria andAnoIsNotNull() {
            addCriterion("ano is not null");
            return (Criteria) this;
        }

        public Criteria andAnoEqualTo(String value) {
            addCriterion("ano =", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotEqualTo(String value) {
            addCriterion("ano <>", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThan(String value) {
            addCriterion("ano >", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThanOrEqualTo(String value) {
            addCriterion("ano >=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThan(String value) {
            addCriterion("ano <", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThanOrEqualTo(String value) {
            addCriterion("ano <=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLike(String value) {
            addCriterion("ano like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotLike(String value) {
            addCriterion("ano not like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoIn(List<String> values) {
            addCriterion("ano in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotIn(List<String> values) {
            addCriterion("ano not in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoBetween(String value1, String value2) {
            addCriterion("ano between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotBetween(String value1, String value2) {
            addCriterion("ano not between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andUnoIsNull() {
            addCriterion("uno is null");
            return (Criteria) this;
        }

        public Criteria andUnoIsNotNull() {
            addCriterion("uno is not null");
            return (Criteria) this;
        }

        public Criteria andUnoEqualTo(String value) {
            addCriterion("uno =", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotEqualTo(String value) {
            addCriterion("uno <>", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThan(String value) {
            addCriterion("uno >", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThanOrEqualTo(String value) {
            addCriterion("uno >=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThan(String value) {
            addCriterion("uno <", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThanOrEqualTo(String value) {
            addCriterion("uno <=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLike(String value) {
            addCriterion("uno like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotLike(String value) {
            addCriterion("uno not like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoIn(List<String> values) {
            addCriterion("uno in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotIn(List<String> values) {
            addCriterion("uno not in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoBetween(String value1, String value2) {
            addCriterion("uno between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotBetween(String value1, String value2) {
            addCriterion("uno not between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andCnameIsNull() {
            addCriterion("cName is null");
            return (Criteria) this;
        }

        public Criteria andCnameIsNotNull() {
            addCriterion("cName is not null");
            return (Criteria) this;
        }

        public Criteria andCnameEqualTo(String value) {
            addCriterion("cName =", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotEqualTo(String value) {
            addCriterion("cName <>", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThan(String value) {
            addCriterion("cName >", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThanOrEqualTo(String value) {
            addCriterion("cName >=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThan(String value) {
            addCriterion("cName <", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThanOrEqualTo(String value) {
            addCriterion("cName <=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLike(String value) {
            addCriterion("cName like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotLike(String value) {
            addCriterion("cName not like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameIn(List<String> values) {
            addCriterion("cName in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotIn(List<String> values) {
            addCriterion("cName not in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameBetween(String value1, String value2) {
            addCriterion("cName between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotBetween(String value1, String value2) {
            addCriterion("cName not between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCimgIsNull() {
            addCriterion("cImg is null");
            return (Criteria) this;
        }

        public Criteria andCimgIsNotNull() {
            addCriterion("cImg is not null");
            return (Criteria) this;
        }

        public Criteria andCimgEqualTo(String value) {
            addCriterion("cImg =", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgNotEqualTo(String value) {
            addCriterion("cImg <>", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgGreaterThan(String value) {
            addCriterion("cImg >", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgGreaterThanOrEqualTo(String value) {
            addCriterion("cImg >=", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgLessThan(String value) {
            addCriterion("cImg <", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgLessThanOrEqualTo(String value) {
            addCriterion("cImg <=", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgLike(String value) {
            addCriterion("cImg like", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgNotLike(String value) {
            addCriterion("cImg not like", value, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgIn(List<String> values) {
            addCriterion("cImg in", values, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgNotIn(List<String> values) {
            addCriterion("cImg not in", values, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgBetween(String value1, String value2) {
            addCriterion("cImg between", value1, value2, "cimg");
            return (Criteria) this;
        }

        public Criteria andCimgNotBetween(String value1, String value2) {
            addCriterion("cImg not between", value1, value2, "cimg");
            return (Criteria) this;
        }

        public Criteria andCsexIsNull() {
            addCriterion("cSex is null");
            return (Criteria) this;
        }

        public Criteria andCsexIsNotNull() {
            addCriterion("cSex is not null");
            return (Criteria) this;
        }

        public Criteria andCsexEqualTo(String value) {
            addCriterion("cSex =", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexNotEqualTo(String value) {
            addCriterion("cSex <>", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexGreaterThan(String value) {
            addCriterion("cSex >", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexGreaterThanOrEqualTo(String value) {
            addCriterion("cSex >=", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexLessThan(String value) {
            addCriterion("cSex <", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexLessThanOrEqualTo(String value) {
            addCriterion("cSex <=", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexLike(String value) {
            addCriterion("cSex like", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexNotLike(String value) {
            addCriterion("cSex not like", value, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexIn(List<String> values) {
            addCriterion("cSex in", values, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexNotIn(List<String> values) {
            addCriterion("cSex not in", values, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexBetween(String value1, String value2) {
            addCriterion("cSex between", value1, value2, "csex");
            return (Criteria) this;
        }

        public Criteria andCsexNotBetween(String value1, String value2) {
            addCriterion("cSex not between", value1, value2, "csex");
            return (Criteria) this;
        }

        public Criteria andCageIsNull() {
            addCriterion("cAge is null");
            return (Criteria) this;
        }

        public Criteria andCageIsNotNull() {
            addCriterion("cAge is not null");
            return (Criteria) this;
        }

        public Criteria andCageEqualTo(String value) {
            addCriterion("cAge =", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageNotEqualTo(String value) {
            addCriterion("cAge <>", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageGreaterThan(String value) {
            addCriterion("cAge >", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageGreaterThanOrEqualTo(String value) {
            addCriterion("cAge >=", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageLessThan(String value) {
            addCriterion("cAge <", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageLessThanOrEqualTo(String value) {
            addCriterion("cAge <=", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageLike(String value) {
            addCriterion("cAge like", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageNotLike(String value) {
            addCriterion("cAge not like", value, "cage");
            return (Criteria) this;
        }

        public Criteria andCageIn(List<String> values) {
            addCriterion("cAge in", values, "cage");
            return (Criteria) this;
        }

        public Criteria andCageNotIn(List<String> values) {
            addCriterion("cAge not in", values, "cage");
            return (Criteria) this;
        }

        public Criteria andCageBetween(String value1, String value2) {
            addCriterion("cAge between", value1, value2, "cage");
            return (Criteria) this;
        }

        public Criteria andCageNotBetween(String value1, String value2) {
            addCriterion("cAge not between", value1, value2, "cage");
            return (Criteria) this;
        }

        public Criteria andCheightIsNull() {
            addCriterion("cHeight is null");
            return (Criteria) this;
        }

        public Criteria andCheightIsNotNull() {
            addCriterion("cHeight is not null");
            return (Criteria) this;
        }

        public Criteria andCheightEqualTo(String value) {
            addCriterion("cHeight =", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightNotEqualTo(String value) {
            addCriterion("cHeight <>", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightGreaterThan(String value) {
            addCriterion("cHeight >", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightGreaterThanOrEqualTo(String value) {
            addCriterion("cHeight >=", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightLessThan(String value) {
            addCriterion("cHeight <", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightLessThanOrEqualTo(String value) {
            addCriterion("cHeight <=", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightLike(String value) {
            addCriterion("cHeight like", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightNotLike(String value) {
            addCriterion("cHeight not like", value, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightIn(List<String> values) {
            addCriterion("cHeight in", values, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightNotIn(List<String> values) {
            addCriterion("cHeight not in", values, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightBetween(String value1, String value2) {
            addCriterion("cHeight between", value1, value2, "cheight");
            return (Criteria) this;
        }

        public Criteria andCheightNotBetween(String value1, String value2) {
            addCriterion("cHeight not between", value1, value2, "cheight");
            return (Criteria) this;
        }

        public Criteria andCweightIsNull() {
            addCriterion("cWeight is null");
            return (Criteria) this;
        }

        public Criteria andCweightIsNotNull() {
            addCriterion("cWeight is not null");
            return (Criteria) this;
        }

        public Criteria andCweightEqualTo(String value) {
            addCriterion("cWeight =", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightNotEqualTo(String value) {
            addCriterion("cWeight <>", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightGreaterThan(String value) {
            addCriterion("cWeight >", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightGreaterThanOrEqualTo(String value) {
            addCriterion("cWeight >=", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightLessThan(String value) {
            addCriterion("cWeight <", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightLessThanOrEqualTo(String value) {
            addCriterion("cWeight <=", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightLike(String value) {
            addCriterion("cWeight like", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightNotLike(String value) {
            addCriterion("cWeight not like", value, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightIn(List<String> values) {
            addCriterion("cWeight in", values, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightNotIn(List<String> values) {
            addCriterion("cWeight not in", values, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightBetween(String value1, String value2) {
            addCriterion("cWeight between", value1, value2, "cweight");
            return (Criteria) this;
        }

        public Criteria andCweightNotBetween(String value1, String value2) {
            addCriterion("cWeight not between", value1, value2, "cweight");
            return (Criteria) this;
        }

        public Criteria andCpwdIsNull() {
            addCriterion("cPwd is null");
            return (Criteria) this;
        }

        public Criteria andCpwdIsNotNull() {
            addCriterion("cPwd is not null");
            return (Criteria) this;
        }

        public Criteria andCpwdEqualTo(String value) {
            addCriterion("cPwd =", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdNotEqualTo(String value) {
            addCriterion("cPwd <>", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdGreaterThan(String value) {
            addCriterion("cPwd >", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdGreaterThanOrEqualTo(String value) {
            addCriterion("cPwd >=", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdLessThan(String value) {
            addCriterion("cPwd <", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdLessThanOrEqualTo(String value) {
            addCriterion("cPwd <=", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdLike(String value) {
            addCriterion("cPwd like", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdNotLike(String value) {
            addCriterion("cPwd not like", value, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdIn(List<String> values) {
            addCriterion("cPwd in", values, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdNotIn(List<String> values) {
            addCriterion("cPwd not in", values, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdBetween(String value1, String value2) {
            addCriterion("cPwd between", value1, value2, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCpwdNotBetween(String value1, String value2) {
            addCriterion("cPwd not between", value1, value2, "cpwd");
            return (Criteria) this;
        }

        public Criteria andCemailIsNull() {
            addCriterion("cEmail is null");
            return (Criteria) this;
        }

        public Criteria andCemailIsNotNull() {
            addCriterion("cEmail is not null");
            return (Criteria) this;
        }

        public Criteria andCemailEqualTo(String value) {
            addCriterion("cEmail =", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailNotEqualTo(String value) {
            addCriterion("cEmail <>", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailGreaterThan(String value) {
            addCriterion("cEmail >", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailGreaterThanOrEqualTo(String value) {
            addCriterion("cEmail >=", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailLessThan(String value) {
            addCriterion("cEmail <", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailLessThanOrEqualTo(String value) {
            addCriterion("cEmail <=", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailLike(String value) {
            addCriterion("cEmail like", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailNotLike(String value) {
            addCriterion("cEmail not like", value, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailIn(List<String> values) {
            addCriterion("cEmail in", values, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailNotIn(List<String> values) {
            addCriterion("cEmail not in", values, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailBetween(String value1, String value2) {
            addCriterion("cEmail between", value1, value2, "cemail");
            return (Criteria) this;
        }

        public Criteria andCemailNotBetween(String value1, String value2) {
            addCriterion("cEmail not between", value1, value2, "cemail");
            return (Criteria) this;
        }

        public Criteria andCaddressIsNull() {
            addCriterion("cAddress is null");
            return (Criteria) this;
        }

        public Criteria andCaddressIsNotNull() {
            addCriterion("cAddress is not null");
            return (Criteria) this;
        }

        public Criteria andCaddressEqualTo(String value) {
            addCriterion("cAddress =", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressNotEqualTo(String value) {
            addCriterion("cAddress <>", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressGreaterThan(String value) {
            addCriterion("cAddress >", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressGreaterThanOrEqualTo(String value) {
            addCriterion("cAddress >=", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressLessThan(String value) {
            addCriterion("cAddress <", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressLessThanOrEqualTo(String value) {
            addCriterion("cAddress <=", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressLike(String value) {
            addCriterion("cAddress like", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressNotLike(String value) {
            addCriterion("cAddress not like", value, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressIn(List<String> values) {
            addCriterion("cAddress in", values, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressNotIn(List<String> values) {
            addCriterion("cAddress not in", values, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressBetween(String value1, String value2) {
            addCriterion("cAddress between", value1, value2, "caddress");
            return (Criteria) this;
        }

        public Criteria andCaddressNotBetween(String value1, String value2) {
            addCriterion("cAddress not between", value1, value2, "caddress");
            return (Criteria) this;
        }

        public Criteria andCstateIsNull() {
            addCriterion("cState is null");
            return (Criteria) this;
        }

        public Criteria andCstateIsNotNull() {
            addCriterion("cState is not null");
            return (Criteria) this;
        }

        public Criteria andCstateEqualTo(String value) {
            addCriterion("cState =", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotEqualTo(String value) {
            addCriterion("cState <>", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateGreaterThan(String value) {
            addCriterion("cState >", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateGreaterThanOrEqualTo(String value) {
            addCriterion("cState >=", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateLessThan(String value) {
            addCriterion("cState <", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateLessThanOrEqualTo(String value) {
            addCriterion("cState <=", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateLike(String value) {
            addCriterion("cState like", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotLike(String value) {
            addCriterion("cState not like", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateIn(List<String> values) {
            addCriterion("cState in", values, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotIn(List<String> values) {
            addCriterion("cState not in", values, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateBetween(String value1, String value2) {
            addCriterion("cState between", value1, value2, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotBetween(String value1, String value2) {
            addCriterion("cState not between", value1, value2, "cstate");
            return (Criteria) this;
        }

        public Criteria andCdescIsNull() {
            addCriterion("cDesc is null");
            return (Criteria) this;
        }

        public Criteria andCdescIsNotNull() {
            addCriterion("cDesc is not null");
            return (Criteria) this;
        }

        public Criteria andCdescEqualTo(String value) {
            addCriterion("cDesc =", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescNotEqualTo(String value) {
            addCriterion("cDesc <>", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescGreaterThan(String value) {
            addCriterion("cDesc >", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescGreaterThanOrEqualTo(String value) {
            addCriterion("cDesc >=", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescLessThan(String value) {
            addCriterion("cDesc <", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescLessThanOrEqualTo(String value) {
            addCriterion("cDesc <=", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescLike(String value) {
            addCriterion("cDesc like", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescNotLike(String value) {
            addCriterion("cDesc not like", value, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescIn(List<String> values) {
            addCriterion("cDesc in", values, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescNotIn(List<String> values) {
            addCriterion("cDesc not in", values, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescBetween(String value1, String value2) {
            addCriterion("cDesc between", value1, value2, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCdescNotBetween(String value1, String value2) {
            addCriterion("cDesc not between", value1, value2, "cdesc");
            return (Criteria) this;
        }

        public Criteria andCgradeIsNull() {
            addCriterion("cGrade is null");
            return (Criteria) this;
        }

        public Criteria andCgradeIsNotNull() {
            addCriterion("cGrade is not null");
            return (Criteria) this;
        }

        public Criteria andCgradeEqualTo(String value) {
            addCriterion("cGrade =", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeNotEqualTo(String value) {
            addCriterion("cGrade <>", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeGreaterThan(String value) {
            addCriterion("cGrade >", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeGreaterThanOrEqualTo(String value) {
            addCriterion("cGrade >=", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeLessThan(String value) {
            addCriterion("cGrade <", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeLessThanOrEqualTo(String value) {
            addCriterion("cGrade <=", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeLike(String value) {
            addCriterion("cGrade like", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeNotLike(String value) {
            addCriterion("cGrade not like", value, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeIn(List<String> values) {
            addCriterion("cGrade in", values, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeNotIn(List<String> values) {
            addCriterion("cGrade not in", values, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeBetween(String value1, String value2) {
            addCriterion("cGrade between", value1, value2, "cgrade");
            return (Criteria) this;
        }

        public Criteria andCgradeNotBetween(String value1, String value2) {
            addCriterion("cGrade not between", value1, value2, "cgrade");
            return (Criteria) this;
        }

        public Criteria andSaltIsNull() {
            addCriterion("salt is null");
            return (Criteria) this;
        }

        public Criteria andSaltIsNotNull() {
            addCriterion("salt is not null");
            return (Criteria) this;
        }

        public Criteria andSaltEqualTo(String value) {
            addCriterion("salt =", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotEqualTo(String value) {
            addCriterion("salt <>", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThan(String value) {
            addCriterion("salt >", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltGreaterThanOrEqualTo(String value) {
            addCriterion("salt >=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThan(String value) {
            addCriterion("salt <", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLessThanOrEqualTo(String value) {
            addCriterion("salt <=", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltLike(String value) {
            addCriterion("salt like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotLike(String value) {
            addCriterion("salt not like", value, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltIn(List<String> values) {
            addCriterion("salt in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotIn(List<String> values) {
            addCriterion("salt not in", values, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltBetween(String value1, String value2) {
            addCriterion("salt between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andSaltNotBetween(String value1, String value2) {
            addCriterion("salt not between", value1, value2, "salt");
            return (Criteria) this;
        }

        public Criteria andCfansIsNull() {
            addCriterion("cFans is null");
            return (Criteria) this;
        }

        public Criteria andCfansIsNotNull() {
            addCriterion("cFans is not null");
            return (Criteria) this;
        }

        public Criteria andCfansEqualTo(String value) {
            addCriterion("cFans =", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansNotEqualTo(String value) {
            addCriterion("cFans <>", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansGreaterThan(String value) {
            addCriterion("cFans >", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansGreaterThanOrEqualTo(String value) {
            addCriterion("cFans >=", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansLessThan(String value) {
            addCriterion("cFans <", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansLessThanOrEqualTo(String value) {
            addCriterion("cFans <=", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansLike(String value) {
            addCriterion("cFans like", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansNotLike(String value) {
            addCriterion("cFans not like", value, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansIn(List<String> values) {
            addCriterion("cFans in", values, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansNotIn(List<String> values) {
            addCriterion("cFans not in", values, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansBetween(String value1, String value2) {
            addCriterion("cFans between", value1, value2, "cfans");
            return (Criteria) this;
        }

        public Criteria andCfansNotBetween(String value1, String value2) {
            addCriterion("cFans not between", value1, value2, "cfans");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}